Skip to content

Conversation

@quantstruct-bot
Copy link
Collaborator

@quantstruct-bot quantstruct-bot commented Feb 28, 2025

Phone Keypad Input Support, OAuth2 and Analytics Improvements

  1. Keypad Input Support for Phone Calls: A new keypadInputPlan feature has been added to enable handling of DTMF (touch-tone) keypad inputs during phone calls. This allows your voice assistant to collect numeric input from callers, like account numbers, menu selections, or confirmation codes.

Configuration options:

{
  "keypadInputPlan": {
    "enabled": true,               // Default: false
    "delimiters": "#",             // Options: "#", "*", or "" (empty string)
    "timeoutSeconds": 2            // Range: 0.5-10 seconds, Default: 2
  }
}

The feature can be configured in:

  • assistant.keypadInputPlan
  • call.squad.members.assistant.keypadInputPlan
  • call.squad.members.assistantOverrides.keypadInputPlan
  1. OAuth2 Authentication Enhancement: The OAuth2AuthenticationPlan now includes a scope property to specify access scopes when authenticating. This allows more granular control over permissions when integrating with OAuth2-based services.
{
  "credentials": [
    {
      "authenticationPlan": {
        "type": "oauth2",
        "url": "https://example.com/oauth2/token",
        "clientId": "your-client-id",
        "clientSecret": "your-client-secret",
        "scope": "read:data"  // New property, max length: 1000 characters
      }
    }
  ]
}

The scope property can be configured at:

  • assistant.credentials.authenticationPlan
  • call.squad.members.assistant.credentials.authenticationPlan
  1. New Analytics Metric: Minutes Used The AnalyticsOperation schema now includes a new column option: minutesUsed. This metric allows you to track and analyze the duration of calls in your usage reports and analytics dashboards.

  2. Removed TrieveKnowledgeBaseCreate Schema: Removed TrieveKnowledgeBaseCreate schema from

  • TrieveKnowledgeBase.createPlan
  • CreateTrieveKnowledgeBaseDTO.createPlan
  • UpdateTrieveKnowledgeBaseDTO.createPlan

@github-actions
Copy link
Contributor

@sahilsuman933 sahilsuman933 merged commit 3086178 into main Mar 1, 2025
3 of 4 checks passed
skeptrunedev referenced this pull request in devflowinc/vapi-docs Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants